<?php


namespace app\admin\model;


use think\Model;

class Index extends Model
{
    public function getuser(){
        return $this->table('dc_users')->count();
    }
    public function getclass(){
        return $this->table('dc_bclass')->count();
    }
    public function getfood(){
        return $this->table('dc_foods')->count();
    }
    public function getorder(){
        return $this->table('dc_forms')->count();
    }
    public function getcomment(){
        return $this->table('dc_admin')->count();
    }
}